package factory.factoryMethod;

import factory.base.MiPc;
import factory.base.MiPhone;
import factory.base.Pc;
import factory.base.Phone;

/**
 * @author: whh
 * @Date: 2021/6/7
 * @Description:
 */
public class XiaoMiFactory implements AbstractFactory {
    @Override
    public Phone makePhone() {
        return new MiPhone();
    }

    @Override
    public Pc makePc() {
        return new MiPc();
    }
}
